// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'


Vue.config.productionTip = false
axios.defaults.baseURL = 'http://127.0.0.1:8000/axf'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  created() {
    /*const win = window,doc = document;
  	const winWidth = $(window).width();
  	const size = (winWidth / 750) * 20;
　　doc.documentElement.style.fontSize = (size < 20 ? size : 20) + 'px';*/
		document.documentElement.style.fontSize = innerWidth / 10 + "px"
	}
})